package com.zhongkeruan.user.service;

import com.zhongkeruan.common.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yangyao
 * @Description: UserService
 * @date 2019/1/11 15:13
 */
public interface UserService {

    public List<User> getUserList() throws Exception;

    public User getUserById(Long id) throws Exception;

    public User findByUserName(String userName) throws Exception;

    public int addUser(User user) throws Exception;
}
